package com.ruoyi.psi.quality.analysis.domain;

import lombok.Data;

/**
 * 质检分析
 */
@Data
public class QualityAnalysis {
    private String workSheetId; //加工单编号

    private String produceId; //产品编号

    private String produceName; //产品名称

    private Double defectiveNum; //不良品数量

    private Double total; //总数量

    private Double qualifiedRate; //合格率

    public QualityAnalysis() {
    }

    public QualityAnalysis(String workSheetId, String produceId, String produceName, Double defectiveNum, Double total, Double qualifiedRate) {
        this.workSheetId = workSheetId;
        this.produceId = produceId;
        this.produceName = produceName;
        this.defectiveNum = defectiveNum;
        this.total = total;
        this.qualifiedRate = qualifiedRate;
    }
}
